package com.zbp;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@Slf4j
@EnableAsync
@SpringBootApplication
@MapperScan("com.zbp.mapper")
public class SpringBootTestApplication {

    public static void main(String[] args) {
        System.setProperty("druid.mysql.usePingMethod", "false");
        SpringApplication.run(SpringBootTestApplication.class, args);
        log.info("knife4j文档地址(端口号根据自己项目配置)： http://localhost:8080/doc.html#");
        log.info("swagger文档地址(端口号根据自己项目配置)：http://localhost:8080/swagger-ui/index.html#/");
        log.info("druid访问地址(端口号根据自己项目配置)：http://localhost:8080/druid/index.html");
    }
}
